﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200057F RID: 1407
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishChapterScNotify : IMessage<FinishChapterScNotify>, IMessage, IEquatable<FinishChapterScNotify>, IDeepCloneable<FinishChapterScNotify>, IBufferMessage
	{
		// Token: 0x1700120E RID: 4622
		// (get) Token: 0x06003F37 RID: 16183 RVA: 0x000AD8B1 File Offset: 0x000ABAB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishChapterScNotify> Parser
		{
			get
			{
				return FinishChapterScNotify._parser;
			}
		}

		// Token: 0x1700120F RID: 4623
		// (get) Token: 0x06003F38 RID: 16184 RVA: 0x000AD8B8 File Offset: 0x000ABAB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishChapterScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001210 RID: 4624
		// (get) Token: 0x06003F39 RID: 16185 RVA: 0x000AD8CA File Offset: 0x000ABACA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishChapterScNotify.Descriptor;
			}
		}

		// Token: 0x06003F3A RID: 16186 RVA: 0x000AD8D1 File Offset: 0x000ABAD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChapterScNotify()
		{
		}

		// Token: 0x06003F3B RID: 16187 RVA: 0x000AD8D9 File Offset: 0x000ABAD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChapterScNotify(FinishChapterScNotify other) : this()
		{
			this.oBHHHGOCNNE_ = ((other.oBHHHGOCNNE_ != null) ? other.oBHHHGOCNNE_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003F3C RID: 16188 RVA: 0x000AD90E File Offset: 0x000ABB0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChapterScNotify Clone()
		{
			return new FinishChapterScNotify(this);
		}

		// Token: 0x17001211 RID: 4625
		// (get) Token: 0x06003F3D RID: 16189 RVA: 0x000AD916 File Offset: 0x000ABB16
		// (set) Token: 0x06003F3E RID: 16190 RVA: 0x000AD91E File Offset: 0x000ABB1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FantasticActivityData OBHHHGOCNNE
		{
			get
			{
				return this.oBHHHGOCNNE_;
			}
			set
			{
				this.oBHHHGOCNNE_ = value;
			}
		}

		// Token: 0x06003F3F RID: 16191 RVA: 0x000AD927 File Offset: 0x000ABB27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishChapterScNotify);
		}

		// Token: 0x06003F40 RID: 16192 RVA: 0x000AD935 File Offset: 0x000ABB35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishChapterScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.OBHHHGOCNNE, other.OBHHHGOCNNE) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003F41 RID: 16193 RVA: 0x000AD968 File Offset: 0x000ABB68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.oBHHHGOCNNE_ != null)
			{
				num ^= this.OBHHHGOCNNE.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003F42 RID: 16194 RVA: 0x000AD9A4 File Offset: 0x000ABBA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003F43 RID: 16195 RVA: 0x000AD9AC File Offset: 0x000ABBAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003F44 RID: 16196 RVA: 0x000AD9B5 File Offset: 0x000ABBB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.oBHHHGOCNNE_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.OBHHHGOCNNE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003F45 RID: 16197 RVA: 0x000AD9E8 File Offset: 0x000ABBE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.oBHHHGOCNNE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.OBHHHGOCNNE);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003F46 RID: 16198 RVA: 0x000ADA28 File Offset: 0x000ABC28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishChapterScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.oBHHHGOCNNE_ != null)
			{
				if (this.oBHHHGOCNNE_ == null)
				{
					this.OBHHHGOCNNE = new FantasticActivityData();
				}
				this.OBHHHGOCNNE.MergeFrom(other.OBHHHGOCNNE);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003F47 RID: 16199 RVA: 0x000ADA7C File Offset: 0x000ABC7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003F48 RID: 16200 RVA: 0x000ADA88 File Offset: 0x000ABC88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 90U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.oBHHHGOCNNE_ == null)
					{
						this.OBHHHGOCNNE = new FantasticActivityData();
					}
					input.ReadMessage(this.OBHHHGOCNNE);
				}
			}
		}

		// Token: 0x04001900 RID: 6400
		private static readonly MessageParser<FinishChapterScNotify> _parser = new MessageParser<FinishChapterScNotify>(() => new FinishChapterScNotify());

		// Token: 0x04001901 RID: 6401
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001902 RID: 6402
		public const int OBHHHGOCNNEFieldNumber = 11;

		// Token: 0x04001903 RID: 6403
		private FantasticActivityData oBHHHGOCNNE_;
	}
}
